package com.zz.cc.business.app;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

import com.zz.cc.business.R;
import com.zz.cc.business.R.anim;
import com.zz.cc.business.R.id;
import com.zz.cc.business.R.layout;
import com.zz.common.app.BaseActivity;

public class ForgetPasswordActivity extends BaseActivity implements OnClickListener {
	
	private EditText mPhoneNumberInput;
	
	private Button mSubmiter;

	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_forget_password);
		initUI();
		fillView();
	}
	
	private void initUI() {
		mPhoneNumberInput = (EditText) findViewById(R.id.login_input_phone_number);
		mSubmiter = (Button) findViewById(R.id.submit);;
	}
	
	private void fillView() {
		mSubmiter.setOnClickListener(this);
	}

	@Override	//View.OnClickListener
	public void onClick(View v) {
		int id = v.getId();
		if(id == R.id.submit) {
			finish();
			overridePendingTransition(R.anim.activity_slide_left_in, R.anim.activity_slide_right_out);
		}
	}

}
